<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head><title>infoPersonali</title></h:head> 
<body>
<h:form>
	<p:toolbar>
		<p:toolbarGroup>
		<p:button outcome="index.xhtml" value="Pagina Personale" />
		</p:toolbarGroup>
		<p:toolbarGroup align="right">
			<h:form>
				<p:commandButton action="#{logoutBean.logout()}" value="Logout" />
			</h:form>	
		</p:toolbarGroup>
	</p:toolbar>
</h:form>
<h:form>	
	<p:panel header="Gestione Account" >
	
	<h:form>
	<p:tieredMenu style="width:180px"  >
		<p:submenu id="Menù" label="Menù">
			<p:submenu  id="modificaAccount" label="modifica Account">
				<p:menuitem url="modificaEmail.xhtml" value="Modifica Email" />
				<p:menuitem url="modificaCittà.xhtml" value="Modifica Città" />
				<p:menuitem url="modificaNome.xhtml" value="Modifica Nome" />
				<p:menuitem url="modificaCognome.xhtml" value="Modifica Cognome" />
				<p:menuitem url="modificaPassword.xhtml" value="Modifica Password" />
				<p:menuitem url="modificaDataNascita.xhtml" value="Modifica Data Nascita" />
				<p:menuitem url="modificaCap.xhtml" value="Modifica Cap" />
				<p:menuitem url="modificaNazioneResidenza.xhtml" value="Modifica Nazione Residenza" />
			</p:submenu>
			<p:menuitem url="cancellazioneAccount.xhtml" value="Cancella Account"/>
		</p:submenu>
	</p:tieredMenu> 
	</h:form>
	
	
	</p:panel>
</h:form>	
</body> 
</html>
